package cn.zm.trip.web.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName(value = "tp_viewpoint")
public class ViewPoint {
    @TableId
    private Integer tpVid;


    private String tpTitle;


    private String tpVname;


    private String tpVtype;


    private String tpVpic;


    private String tpVphone;


    private String tpLevel;

    private Integer tpPrice;


    private String tpLocation;


    private String tpZip;


    private String tpOpentime;


    private Date tpCreattime;


    private String tpVcontent;

    /**
     * 景点图片列表
     */
    private String pictureUrls;

    /**
     * 景点图片列表，List类型，方便Jsp遍历
     */
    @TableField(exist = false)
    private List<String> pictureList;


    /**
     * 景点评分 0 非常差，1 较差，2 一般，3 非常好，4 极佳
     */
    private Integer score;

    /**
     * 人气
     */
    private Integer heat;
}